package o2o.dao.VO.shop;

import lombok.Data;

import java.io.Serializable;
import java.util.List;

@Data
public class ShopTypeInfoVO implements Serializable {

    // 轮播图类型
    public static final String TAKE_OUT_FOOD = "take_out_food"; // 外卖
    public static final String GROUP_BUYING = "group_buying"; // 团购
    public static final String ALL = "all"; // 返回全部

    private Long id;
    private Long agentId;//商圈ID
    private String code;//编码
    private String name;//行业名称
    private String imageUrl;//模块图片
    private Integer isLink;//是否有超链接
    private Integer linkType;//连接类型
    private String link;        //链接地址或ID  AppID(小程序ID)
    private String link2;       // 原始ID gh_0fcdfd24e63d
    private String link3;       // 小程序跳转页 xcxPages
    private int type;//行业类型  （1：首页模块，2：首页模块二）
    private int orderNo;//排序编号
    private Long pId;//上级id

    private String descs;//行业描述
    private int isOpen = 1; // 是否打开 0 未打开 1 打开

    // add by duanbaoxin  2018-8-2
    private String nameLang; // 店铺行业名称(多语言)
    private String descsLang; // 店铺行业描述(多语言)
    private Integer mSize; // 模块占用大小

    private String pageTopImageUrl;//页面顶部图片地址
    private String pageBackImageUrl;//页面背景图
    private String pageBackColor;//页面背景颜色
    private String pageDescs;//页面活动说明
    private String extra1;//备用字段1
    private String extra2;//备用字段2
    private String extra3;//备用字段3
    private String showType;// 展示样式 1 一行两个 2 一行两个 3 两行三个 4 两行四个
    private String showTypeNo; // 样式内图片编号
    private Long createTime;//创建时间
    private String activityGroupId; // 活动分组id
    private ShopInfoVO shopInfo;//店铺信息
    private Long shopCount;//店铺数量

    private List<ShopTypeInfoVO> childList;//下级列表

    public String getShowType() {
        return showType;
    }

    public void setShowType(String showType) {
        this.showType = showType;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getAgentId() {
        return agentId;
    }

    public int getIsOpen() {
        return isOpen;
    }

    public void setIsOpen(int isOpen) {
        this.isOpen = isOpen;
    }

    public ShopTypeInfoVO setAgentId(Long agentId) {
        this.agentId = agentId;
        return this;
    }

    public Long getShopCount() {
        return shopCount;
    }

    public void setShopCount(Long shopCount) {
        this.shopCount = shopCount;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getImageUrl() {
        return imageUrl;
    }

    public void setImageUrl(String imageUrl) {
        this.imageUrl = imageUrl;
    }

    public Integer getIsLink() {
        return isLink;
    }

    public void setIsLink(Integer isLink) {
        this.isLink = isLink;
    }

    public Integer getLinkType() {
        return linkType;
    }

    public void setLinkType(Integer linkType) {
        this.linkType = linkType;
    }

    public String getLink() {
        return link;
    }

    public void setLink(String link) {
        this.link = link;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public int getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(int orderNo) {
        this.orderNo = orderNo;
    }

    public String getDescs() {
        return descs;
    }

    public void setDescs(String descs) {
        this.descs = descs;
    }

    public ShopInfoVO getShopInfo() {
        return shopInfo;
    }

    public void setShopInfo(ShopInfoVO shopInfo) {
        this.shopInfo = shopInfo;
    }

    public Long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Long createTime) {
        this.createTime = createTime;
    }

    public Integer getmSize() {
        return mSize;
    }

    public void setmSize(Integer mSize) {
        this.mSize = mSize;
    }

    public List<ShopTypeInfoVO> getChildList() {
        return childList;
    }

    public void setChildList(List<ShopTypeInfoVO> childList) {
        this.childList = childList;
    }

    public String getNameLang() {
        return nameLang;
    }

    public ShopTypeInfoVO setNameLang(String nameLang) {
        this.nameLang = nameLang;
        return this;
    }

    public String getDescsLang() {
        return descsLang;
    }

    public ShopTypeInfoVO setDescsLang(String descsLang) {
        this.descsLang = descsLang;
        return this;
    }

    public Long getpId() {
        return pId;
    }

    public void setpId(Long pId) {
        this.pId = pId;
    }


    public String getPageTopImageUrl() {
        return pageTopImageUrl;
    }

    public void setPageTopImageUrl(String pageTopImageUrl) {
        this.pageTopImageUrl = pageTopImageUrl;
    }

    public String getPageBackImageUrl() {
        return pageBackImageUrl;
    }

    public void setPageBackImageUrl(String pageBackImageUrl) {
        this.pageBackImageUrl = pageBackImageUrl;
    }

    public String getPageBackColor() {
        return pageBackColor;
    }

    public void setPageBackColor(String pageBackColor) {
        this.pageBackColor = pageBackColor;
    }

    public String getPageDescs() {
        return pageDescs;
    }

    public void setPageDescs(String pageDescs) {
        this.pageDescs = pageDescs;
    }

    public String getExtra1() {
        return extra1;
    }

    public void setExtra1(String extra1) {
        this.extra1 = extra1;
    }

    public String getExtra2() {
        return extra2;
    }

    public void setExtra2(String extra2) {
        this.extra2 = extra2;
    }

    public String getExtra3() {
        return extra3;
    }

    public void setExtra3(String extra3) {
        this.extra3 = extra3;
    }
}
